import { createApp } from 'vue'
import SurveyView from '../views/EditSurveyView.vue'
import request from "../assets/js/request";
import store from '../store'

//element ui
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { ElMessage } from 'element-plus'

import formCreate from '@form-create/element-ui'
import FcDesigner from '@form-create/designer'

const app=createApp(SurveyView)
app.use(ElementPlus)
app.use(formCreate)
app.use(FcDesigner)
app.use(store)
app.config.globalProperties.$request=request
app.config.globalProperties.$ElMessage=ElMessage
app.mount('#app')